package com.qidianit.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qidianit.mes.pojo.SysDictData;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/18 - 下午8:11
 */
@Data
public class WorkflowProcess {
    private Long id;

    private Long workflowId;

    private Long processId;

    private Integer stepOrder;

    private Integer relationNext;

    private String ganttColor;

    private Integer isCritical;

    private Integer needInspection;

    private Integer prepTime;

    private Integer waitTime;

    private String remarks;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;

    private String updateBy;

    private Integer deleteFlag;

    Process process;

    Process nextProcess;

    SysDictData relationNextDict;

}
